#include <stdlib.h>
#include <stdio.h>

#include "util.h"

int copy_string(char *copy_to, char *copy_from, int size)
{
	int i = 0;

	for (i; i < size; i++)
	{
		copy_to[i] = copy_from[i];
	}

	return 0;
}

/*
 *Is the Same String?
 *do the two strings have the same values
 *
 * 1 - strings are the same
 * 0 - strings are different 
 */
int is_same_string(char *one, char *two, int size)
{
	int i = 0;

	for (i; i < size; i++)
	{
		if (one[i] != two[i])
		{
			return 0;
		}
	}

	return 1;
}
